import { useDark, useToggle } from "@vueuse/core";
import { ref, unref } from "vue";

export const useDarks = () => {
  const isDark = ref(useDark());
  const toggleDark = useToggle(unref(isDark));
  return {
    isDark,
    toggleDark,
  };
};
